home *** CD-ROM | disk | FTP | other *** search
- /*================================================================================
- modalScrollText.h
-
- circa 1991 by Greg Anderson
- greggor@apple.com
-
- FREE DISTRIBUTION--use and enjoy
-
- This file contains routines that display a modal dialog box
- containing a scrolling item list
- ================================================================================*/
- #ifndef __MODALSCROLLTEXT__
- #define __MODALSCROLLTEXT__
-
- #ifndef __DIALOGS__
- #include "Dialogs.h"
- #endif
-
- #ifndef __EVENTS__
- #include "Events.h"
- #endif
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- #ifndef __MEMORY__
- #include <Memory.h>
- #endif
-
- #define kEditTextItem 2
- #define kScrollbarItem 3
-
- #define kModalScrollID 30304
-
- pascal Boolean ScrollingTextFilter( DialogPtr dlog, EventRecord* event, short* itemHit );
- void ModalScrollText( Str255 title, char* textToShow, Size lengthOfText );
-
-
- #endif
-